<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link rel="shortcut icon" type="image/ico" href="/site_media/image/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/site_media/css/style.css" />
    <script src="/site_media/js/jquery-1.6.1.js" type="text/javascript"></script>
    <script src="/site_media/js/init.js" type="text/javascript"></script>
    <script src="/site_media/js/home.js" type="text/javascript"></script>
    <title>ESP Game</title>
</head>
<body>
    <div class="top">
        <span class="top-info">
            {% if user.is_authenticated %}{{ user.username }} | Help | <a href="/logout/">Sign Out</a>{% else %}Help | <a href="/login/">Sign In</a>{% endif %}
        </span>
        <img class="top-logo" src="/site_media/image/logo.png" alt="" />
        <div class="top-title">ESP Game</div>
    </div>
    <div class="main">
        <div class="game-start-left">
            <p>
                Welcome to <span class="game-start-bold">ESP Label Game</span>, 
                a feature of Google Search that allows you to label images and help improve the quality of Google's image search results.
            </p>
            <div class="game-start-start">
            	<div>Playing As a Guest</div>
                <input id="start_button" class="game-start-button" type="submit" value="Start Labeling" />
            </div>
        	<h3>How does it work?</h3>
            <p>
                You'll be randomly paired with a partner who's online and using the feature.
                Over a two-minute period, you and your partner will:
            </p>
            <ul>
                <li>View the same set of images.</li>
                <li>Provide as many labels as possible to describe each image you see.</li>
                <li>Receive points when your label matches your partner's label.
                    The number of points will depend on how specific your label is.
                </li>
                <li>See more images until time runs out.</li>
            </ul>
            <p>
                After time expires, you can explore the images you've seen and the websites where those images were found.
                And we'll show you the points you've earned throughout the session.
            </p>
            <h3>Tips:</h3>
            <ul>
                <li>You may click the "pass" button if you can't think of any more labels for an image.
                    If you and your partner both click "pass," you'll see the next image but receive no points for the passed image
                </li>
                <li>
                    You'll receive more points for matches with more descriptive labels. For example, this image can be described by the labels:
                    <b>sky</b> (50 points),
                    <b>bird</b> (60 points),
                    <b>soaring</b> (120 points), or 
                    <b>frigate bird</b> (150 points).
                </li>
            </ul>
            <img class="game-start-example" src="/site_media/image/example.jpg" alt="" />
            <h3>What do you need to participate?</h3>
            <p>
                Just an interest in helping Google improve the relevance of image search for users like yourself.
                If you log in to your Google account, we will keep track of your points for you. You may also enter a nickname,
                but we do not require either a nickname or a login to use Google Image Labeler.
            </p>
            <br />
        </div>
        <div class="game-start-right">
            <div class="game-start-ranking">
                <dl>
                    <dt class="title">Today's Top Pairs</dt>
                    <dd class="s1">
                        <span>{{ today_best_match.0.user1 }}&nbsp;-&nbsp;{{ today_best_match.0.user2 }}</span>
                        <span class="mark">{{ today_best_match.0.score }}</span>
                    </dd>
                    <dd class="s2">
                        <span>{{ today_best_match.1.user1 }}&nbsp;-&nbsp;{{ today_best_match.1.user2 }}</span>
                        <span class="mark">{{ today_best_match.1.score }}</span>
                    </dd>
                    <dd class="s3">
                        <span>{{ today_best_match.2.user1 }}&nbsp;-&nbsp;{{ today_best_match.2.user2 }}</span>
                        <span class="mark">{{ today_best_match.2.score }}</span>
                    </dd>
                    <dd class="s4">
                        <span>{{ today_best_match.3.user1 }}&nbsp;-&nbsp;{{ today_best_match.3.user2 }}</span>
                        <span class="mark">{{ today_best_match.3.score }}</span>
                    </dd>
                    <dd class="s5">
                        <span>{{ today_best_match.4.user1 }}&nbsp;-&nbsp;{{ today_best_match.4.user2 }}</span>
                        <span class="mark">{{ today_best_match.4.score }}</span>
                    </dd>
                    <dd class="s6">
                        <span>{{ today_best_match.5.user1 }}&nbsp;-&nbsp;{{ today_best_match.5.user2 }}</span>
                        <span class="mark">{{ today_best_match.5.score }}</span>
                    </dd>
                    <dd class="s7">
                        <span>{{ today_best_match.6.user1 }}&nbsp;-&nbsp;{{ today_best_match.6.user2 }}</span>
                        <span class="mark">{{ today_best_match.6.score }}</span>
                    </dd>
                    <dd class="s8">
                        <span>{{ today_best_match.7.user1 }}&nbsp;-&nbsp;{{ today_best_match.7.user2 }}</span>
                        <span class="mark">{{ today_best_match.7.score }}</span>
                    </dd>
                    <dd class="s9">
                        <span>{{ today_best_match.8.user1 }}&nbsp;-&nbsp;{{ today_best_match.8.user2 }}</span>
                        <span class="mark">{{ today_best_match.8.score }}</span>
                    </dd>
                </dl>
            </div>
            <br/>
            <div class="game-start-ranking">
                <dl>
                    <dt class="title">All-time Top Contributors</dt>
                    <dd class="s1">
                        <span>{{ all_time_top.0.username }}</span>
                        <span class="mark">{{ all_time_top.0.score }}</span>
                    </dd>
                    <dd class="s2">
                        <span>{{ all_time_top.1.username }}</span>
                        <span class="mark">{{ all_time_top.1.score }}</span>
                    </dd>
                    <dd class="s3">
                        <span>{{ all_time_top.2.username }}</span>
                        <span class="mark">{{ all_time_top.2.score }}</span>
                    </dd>
                    <dd class="s4">
                        <span>{{ all_time_top.3.username }}</span>
                        <span class="mark">{{ all_time_top.3.score }}</span>
                    </dd>
                    <dd class="s5">
                        <span>{{ all_time_top.4.username }}</span>
                        <span class="mark">{{ all_time_top.4.score }}</span>
                    </dd>
                    <dd class="s6">
                        <span>{{ all_time_top.5.username }}</span>
                        <span class="mark">{{ all_time_top.5.score }}</span>
                    </dd>
                    <dd class="s7">
                        <span>{{ all_time_top.6.username }}</span>
                        <span class="mark">{{ all_time_top.6.score }}</span>
                    </dd>
                    <dd class="s8">
                        <span>{{ all_time_top.7.username }}</span>
                        <span class="mark">{{ all_time_top.7.score }}</span>
                    </dd>
                    <dd class="s9">
                        <span>{{ all_time_top.8.username }}</span>
                        <span class="mark">{{ all_time_top.8.score }}</span>
                    </dd>
                </dl>
            </div>
            <br/>
        </div>
    </div>
    <div class="clear"></div>
    <div class="footer">
        ©2011 ESP Game All Rights Reserved
    </div>
</body>
</html>